.blog-entry {
  color: #2c3e50;
  line-height: 1.9;
  font-size: 16px;
}

.blog-entery div {
  margin-bottom: 10px;
}

.blog-entry a {
  color: #42b983;
  font-weight: 600;
}

#write {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 30px 40px 30px;
  padding-top: 20px;
  padding-bottom: 100px;
}

#write>ul:first-child,
#write>ol:first-child {
  margin-top: 30px;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  position: relative;
  margin: 0;
  padding-top: 10px;
  font-weight: bold;
  line-height: 1.4;
  cursor: text;
  font-size: 16px;
}

.blog-entry h1 {
  font-size: 24px;
}

.blog-entry h2 {
  padding-bottom: 0.3em;
  font-size: 20px;
  border-bottom: 1px solid #eaecef;
}

.blog-entry h3 {
  font-size: 18px;
}

.blog-entry pre {
  padding: 16px;
  margin: 16px 0;
  background-color: #282c34;
  border-radius: 6px;
}

.blog-entry ul,
.blog-entry li {
  list-style: disc;
  word-break: break-all;
}

.blog-entry li>ol,
.blog-entry li>ul {
  margin: 0 0;
}

hr {
  height: 4px;
  padding: 0;
  margin: 16px 0;
  background-color: #e7e7e7;
  border: 0 none;
  overflow: hidden;
  box-sizing: content-box;
  border-bottom: 1px solid #ddd;
}

.blog-entry ul,
.blog-entry ol {
  padding-left: 30px;
}

.blog-entry ul:first-child,
.blog-entry ol:first-child {
  margin-top: 0;
}

.blog-entry ul:last-child,
.blog-entry ol:last-child {
  margin-bottom: 0;
}

.blog-entry p,
.blog-entry blockquote,
.blog-entry ul,
.blog-entry ol,
.blog-entry dl,
.blog-entry table {
  margin: 16px 0;
  word-break: break-all;
}

.blog-entry blockquote {
  border-radius: 6px;
  border-left: 10px solid #42b983;
  padding: 10px 10px 10px 15px;
  color: #2c3e50;
  background: #f3f5f7;
}

.blog-entry blockquote blockquote {
  padding-right: 0;
}

.blog-entry blockquote p:last-child {
  margin: 0;
}

table {
  padding: 0;
  word-break: initial;
}

table tr {
  border-top: 1px solid #cccccc;
  margin: 0;
  padding: 0;
}

table tr:nth-child(2n),
thead {
  background-color: #fafafa;
}

table tr th {
  font-weight: bold;
  border: 1px solid #cccccc;
  border-bottom: 0;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}

table tr td {
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
  word-wrap: break-word;
}

table tr th:first-child,
table tr td:first-child {
  margin-top: 0;
}

table tr th:last-child,
table tr td:last-child {
  margin-bottom: 0;
}

.CodeMirror-gutters {
  border-right: 1px solid #ddd;
}

.md-fences,
code,
tt {
  font-family: Consolas, "Liberation Mono", Courier, monospace;
  padding: 2px 4px 0px 4px;
}

.md-fences {
  margin-bottom: 15px;
  margin-top: 15px;
  padding: 8px 1em 6px;
}

.md-task-list-item>input {
  margin-left: -1.3em;
}

@media print {
  html {
    font-size: 13px;
  }
  table,
  pre {
    page-break-inside: avoid;
  }
}

.md-fences {
  background-color: #f8f8f8;
}

#write pre.md-meta-block {
  padding: 1rem;
  font-size: 85%;
  line-height: 1.45;
  background-color: #f7f7f7;
  border: 0;
  border-radius: 3px;
  color: #777777;
  margin-top: 0 !important;
}

.mathjax-block>.code-tooltip {
  bottom: .375rem;
}

#write>h3.md-focus:before {
  left: -1.5625rem;
  top: .375rem;
}

#write>h4.md-focus:before {
  left: -1.5625rem;
  top: .285714286rem;
}

#write>h5.md-focus:before {
  left: -1.5625rem;
  top: .285714286rem;
}

#write>h6.md-focus:before {
  left: -1.5625rem;
  top: .285714286rem;
}

.md-image>.md-meta {
  border-radius: 3px;
  font-family: Consolas, "Liberation Mono", Courier, monospace;
  padding: 2px 4px 0px 4px;
  font-size: 0.9em;
  color: inherit;
}

.md-tag {
  color: inherit;
}

.md-toc {
  margin-top: 20px;
  padding-bottom: 20px;
}

.sidebar-tabs {
  border-bottom: none;
}

#typora-quick-open {
  border: 1px solid #ddd;
  background-color: #f8f8f8;
}

#typora-quick-open-item {
  background-color: #FAFAFA;
  border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee;
  border-style: solid;
  border-width: 1px;
}

#md-notification:before {
  top: 10px;
}

.on-focus-mode blockquote {
  border-left-color: rgba(85, 85, 85, 0.12);
}

header,
.context-menu,
.megamenu-content,
footer {
  font-family: "Segoe UI", "Arial", sans-serif;
}

.file-node-content:hover .file-node-icon,
.file-node-content:hover .file-node-open-state {
  visibility: visible;
}

.mac-seamless-mode #typora-sidebar {
  background-color: #fafafa;
}

.md-lang {
  color: #b4654d;
}

.html-for-mac .context-menu {
  --item-hover-bg-color: #E6F0FE;
}

.hljs {
  display: block;
  overflow-x: auto;
}

.hljs,
.hljs-tag,
.hljs-subst {
  color: #f8f8f2
}

.hljs-strong,
.hljs-emphasis {
  color: #a8a8a2
}

.hljs-bullet,
.hljs-quote,
.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-link {
  color: #ae81ff
}

.hljs-code,
.hljs-title,
.hljs-section,
.hljs-selector-class {
  color: #a6e22e
}

.hljs-strong {
  font-weight: bold
}

.hljs-emphasis {
  font-style: italic
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-name,
.hljs-attr {
  color: #f92672
}

.hljs-symbol,
.hljs-attribute {
  color: #66d9ef
}

.hljs-params,
.hljs-class .hljs-title {
  color: #f8f8f2
}

.hljs-string,
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-variable {
  color: #e6db74
}

.hljs-comment,
.hljs-deletion,
.hljs-meta {
  color: #75715e
}

.toc a {
  color: #23527c;
}

.toc h1,
.toc h2,
.toc h3,
.toc h4,
.toc h5,
.toc h6 {
  cursor: pointer;
  font-weight: 400;
  font-size: 18px;
}

.toc h1 {
  font-weight: 900;
}

.toc h2 {
  font-size: 16px;
}

.toc h3 {
  padding-left: 2em;
  font-size: 15px;
}

.toc h4 {
  padding-left: 4em;
  font-size: 14px;
}

.toc h5 {
  padding-left: 6em;
  font-size: 13px;
}

.toc h6 {
  padding-left: 8em;
  font-size: 12px;
}
